<?php
if($_SERVER["PHP_SELF"] != $CONFIG['phpself'])
exit();
?>
<div class="<?php if($_SESSION['AchTypeofAchievement'][$GET_VAR_PART] =="engineer") 
echo "divblock2";
else
echo "divblock";?>"  id="divengineer">
<div class="divblocktype"><h3><?php echo $ADMIN_BLOCKKILL_CONDITION[$Lang]; ?></h3></div>
<table style="text-align: left; width: 100%;" border="0" cellpadding="2" cellspacing="2">
<tbody>
<tr>
  <td style="width: 100%;"><span style="color: rgb(255, 0, 0);">1) </span> 
  <?php echo $ADMIN_BLOCKENGI_ABOUT[$Lang]; ?><br/><input name="engineerChoose" value="build" type="radio" 
  <?php if($_SESSION['AchEngineerChoose'][$GET_VAR_PART] == "build") echo 'checked="checked"';?>><?php echo $ADMIN_BLOCKENGI_BUILD[$Lang]; ?> 
  <br/><input name="engineerChoose" value="teleport" type="radio" 
  <?php if($_SESSION['AchEngineerChoose'][$GET_VAR_PART] == "teleport") echo 'checked="checked"';?>><?php echo $ADMIN_BLOCKENGI_TELEPO[$Lang]; ?>
  </td>
</tr>
<tr>
	<td colspan="2" rowspan="1"><hr></td>
</tr>
<tr>
  <td><span style="color: rgb(255, 0, 0);">2) </span>
  <?php echo $ADMIN_BLOCKENGI_IF_B[$Lang]; ?><br/><input name="engineerobjectname" value="sentry" type="radio" 
  <?php if($_SESSION['AchEngineerObjectName'][$GET_VAR_PART] == "sentry") echo 'checked="checked"';?>><?php echo $ADMIN_BLOCKENGI_SENTRY[$Lang]; ?>
  <br/><input name="engineerobjectname" value="dispenser" type="radio" 
  <?php if($_SESSION['AchEngineerObjectName'][$GET_VAR_PART] == "dispenser") echo 'checked="checked"';?>><?php echo $ADMIN_BLOCKENGI_DISPENSER[$Lang]; ?>
  <br/><input name="engineerobjectname" value="teleentry" type="radio" 
  <?php if($_SESSION['AchEngineerObjectName'][$GET_VAR_PART] == "teleentry") echo 'checked="checked"';?>><?php echo $ADMIN_BLOCKENGI_ENTRY_TELEPORT[$Lang]; ?>
  <br/><input name="engineerobjectname" value="teleexit" type="radio" 
  <?php if($_SESSION['AchEngineerObjectName'][$GET_VAR_PART] == "teleexit") echo 'checked="checked"';?>><?php echo $ADMIN_BLOCKENGI_SORTY_TELEPORT[$Lang]; ?>
  <br/><input name="engineerobjectname" value="" type="radio" 
  <?php if($_SESSION['AchEngineerObjectName'][$GET_VAR_PART] == "") echo 'checked="checked"';?>><?php echo $NOTIMPORTANT[$Lang]; ?>
  </td>
</tr>
<tr>
	<td colspan="2" rowspan="1"><hr></td>
</tr>
<tr>
  <td><span style="color: rgb(255, 0, 0);">3) </span>
  <?php echo $ADMIN_BLOCKENGI_IF_T[$Lang]; ?><br/><input name="engineerdetroy" value="victim" type="radio" 
  <?php if($_SESSION['AchEngineerDestroy'][$GET_VAR_PART] == "victim") echo 'checked="checked"';?>><?php echo $ADMIN_BLOCKENGI_VICTIM_BUILDER[$Lang]; ?>
  <br/><span style="font-weight: bold;"></span><input name="engineerdetroy" value="attacker" type="radio" 
  <?php if($_SESSION['AchEngineerDestroy'][$GET_VAR_PART] == "attacker") echo 'checked="checked"';?>><?php echo $ADMIN_BLOCKENGI_DESTROY_PLAYER[$Lang]; ?>
  </td>
</tr>
<tr>
	<td colspan="2" rowspan="1"><hr></td>
</tr>
<tr>
  <td style="width: 454px;"><span style="color: rgb(255, 0, 0);">4) </span><?php echo $ADMIN_BLOCKENGI_TELEPORTE_STEAMID_OWNER[$Lang]; ?>
  </td>
  <td style="width: 134px;"><input name="engineerowner_id" id="engineerowner_id" value="<?php echo $_SESSION['AchEngineerOwnerSteamID'][$GET_VAR_PART]; ?>">
  </td>
</tr>
<tr>
	<td colspan="2" rowspan="1"><hr></td>
</tr>
<tr>
  <td style="width: 454px;"><span style="color: rgb(255, 0, 0);">5) </span><?php echo $ADMIN_BLOCKENGI_TELEPORTE_STEAMID_USER[$Lang]; ?>
  </td>
  <td style="width: 134px;"><input name="engineeruser_id" id="engineeruser_id" value="<?php echo $_SESSION['AchEngineerUserSteamID'][$GET_VAR_PART]; ?>">
  </td>
</tr>
<tr>
	<td colspan="2" rowspan="1"><hr></td>
</tr>
<tr>
  <td style="width: 454px;"><span style="color: rgb(255, 0, 0);">6) </span><?php echo $ADMIN_BLOCKENGI_TELEPORTE_CLASS_USER[$Lang]; ?>
  </td>
  <td style="width: 134px;">
  <select name="engineeruser_class" id="engineeruser_class" STYLE="width:150px">
	<option value="" <?php if ($_SESSION['AchEngineerUserClass'][$GET_VAR_PART] == "") echo 'selected="selected"'; ?>>Class</option>
	<option value=""></option>
	<option value="scout" <?php if ($_SESSION['AchEngineerUserClass'][$GET_VAR_PART] == "scout") echo 'selected="selected"'; ?>>Scout</option>
	<option value="soldier" <?php if ($_SESSION['AchEngineerUserClass'][$GET_VAR_PART] == "soldier") echo 'selected="selected"'; ?>>Soldier</option>
	<option value="pyro" <?php if ($_SESSION['AchEngineerUserClass'][$GET_VAR_PART] == "pyro") echo 'selected="selected"'; ?>>Pyro</option>
	<option value="demoman" <?php if ($_SESSION['AchEngineerUserClass'][$GET_VAR_PART] == "demoman") echo 'selected="selected"'; ?>>Demoman</option>
	<option value="heavy" <?php if ($_SESSION['AchEngineerUserClass'][$GET_VAR_PART] == "heavy") echo 'selected="selected"'; ?>>Heavy</option>
	<option value="engineer" <?php if ($_SESSION['AchEngineerUserClass'][$GET_VAR_PART] == "engineer") echo 'selected="selected"'; ?>>Engineer</option>
	<option value="medic" <?php if ($_SESSION['AchEngineerUserClass'][$GET_VAR_PART] == "medic") echo 'selected="selected"'; ?>>Medic</option>
	<option value="sniper" <?php if ($_SESSION['AchEngineerUserClass'][$GET_VAR_PART] == "sniper") echo 'selected="selected"'; ?>>Sniper</option>
	<option value="spy" <?php if ($_SESSION['AchEngineerUserClass'][$GET_VAR_PART] == "spy") echo 'selected="selected"'; ?>>Spy</option>
	</select>
  </td>
</tr>
<tr>
	<td colspan="2" rowspan="1"><hr></td>
</tr>
<tr>
  <td><span style="color: rgb(255, 0, 0);">7) </span>
  <?php echo $ADMIN_BLOCKENGI_TELEPORTE_SELFUSE[$Lang]; ?><br/><input name="engineerselfuse" value="yes" type="radio" 
  <?php if($_SESSION['AchEngineerSelfUse'][$GET_VAR_PART] == "yes") echo 'checked="checked"';?>><?php echo $YES[$Lang]; ?>
  <br/><input name="engineerselfuse" value="no" type="radio" 
  <?php if($_SESSION['AchEngineerSelfUse'][$GET_VAR_PART] == "no") echo 'checked="checked"';?>><?php echo $NO[$Lang]; ?>
  </td>
</tr>
<tr>
	<td colspan="2" rowspan="1"><hr></td>
</tr>
<tr>
  <td style="width: 454px;"><span style="color: rgb(255, 0, 0);">8) </span><?php echo $ADMIN_CREATION_ACHIEVEMENT_PARTONE_AMOUNT_FIELD[$Lang]; ?>
  </td>
  <td style="width: 134px;"><input name="engineerAmount" id="amount" value="<?php echo $_SESSION['AchEngineerAmount'][$GET_VAR_PART]; ?>">
  </td>
</tr>
</tbody>
</table>
<br/><br/>
</div>